package com.ruoyi.mes.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 库存总览对象 lny_pro_inventory
 * 
 * @author CFL
 * @date 2024-04-28
 */
public class LnyProInventory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 产品id */
    private Long proId;

    /** 物料id */
    private Long matId;


    /** 产品名称 */
    private String proName;

    /** 物料名称 */
    private String matName;

    /** 库房id */
    private Long strmId;

    /** 存放类型 */
    @Excel(name = "存放类型")
    private Integer invState;

    /** 产品存放数量 */
    @Excel(name = "产品存放数量")
    private Long proNum;

    /** 逻辑删除;0：存在；1：删除 */
    private Integer isDeleted;

    /** 创建者 */
    @Excel(name = "创建者")
    private String createdBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    /** 更新者 */
    private String updatedBy;

    /** 更新时间 */
    private Date updatedDate;


    /** 出入库时变化的数量 */
    private Long num;

    /** 库房编号 */
    private String strmSn;

    /** 库房名称 */
    private String strmName;

    /** 库房存储容量 */
    private Long strmNum;

    /** 库房已使用容量 */
    private Long strmRenum;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setProId(Long proId) 
    {
        this.proId = proId;
    }

    public Long getProId() 
    {
        return proId;
    }

    public void setMatId(Long matId)
    {
        this.matId = matId;
    }

    public Long getMatId()
    {
        return matId;
    }

    public String getProName() {
        return proName;
    }

    public void setProName(String proName) {
        this.proName = proName;
    }

    public String getMatName() {
        return matName;
    }

    public void setMatName(String matName) {
        this.matName = matName;
    }


    public void setStrmId(Long strmId) 
    {
        this.strmId = strmId;
    }

    public Long getStrmId() 
    {
        return strmId;
    }
    public void setInvState(Integer invState) 
    {
        this.invState = invState;
    }

    public Integer getInvState() 
    {
        return invState;
    }
    public void setProNum(Long proNum) 
    {
        this.proNum = proNum;
    }

    public Long getProNum() 
    {
        return proNum;
    }
    public void setIsDeleted(Integer isDeleted) 
    {
        this.isDeleted = isDeleted;
    }

    public Integer getIsDeleted() 
    {
        return isDeleted;
    }
    public void setCreatedBy(String createdBy) 
    {
        this.createdBy = createdBy;
    }

    public String getCreatedBy() 
    {
        return createdBy;
    }
    public void setCreatedTime(Date createdTime) 
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime() 
    {
        return createdTime;
    }
    public void setUpdatedBy(String updatedBy) 
    {
        this.updatedBy = updatedBy;
    }

    public String getUpdatedBy() 
    {
        return updatedBy;
    }
    public void setUpdatedDate(Date updatedDate) 
    {
        this.updatedDate = updatedDate;
    }

    public Date getUpdatedDate() 
    {
        return updatedDate;
    }


    public Long getNum() {
        return num;
    }

    public void setNum(Long num) {
        this.num = num;
    }

    public String getStrmSn() {
        return strmSn;
    }

    public void setStrmSn(String strmSn) {
        this.strmSn = strmSn;
    }

    public String getStrmName() {
        return strmName;
    }

    public void setStrmName(String strmName) {
        this.strmName = strmName;
    }

    public Long getStrmNum() {
        return strmNum;
    }

    public void setStrmNum(Long strmNum) {
        this.strmNum = strmNum;
    }

    public Long getStrmRenum() {
        return strmRenum;
    }

    public void setStrmRenum(Long strmRenum) {
        this.strmRenum = strmRenum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("proId", getProId())
            .append("matId",getMatId())
                .append("proName",getProName())
                .append("matName",getMatName())
            .append("strmId", getStrmId())
            .append("invState", getInvState())
            .append("proNum", getProNum())
            .append("isDeleted", getIsDeleted())
            .append("createdBy", getCreatedBy())
            .append("createdTime", getCreatedTime())
            .append("updatedBy", getUpdatedBy())
            .append("updatedDate", getUpdatedDate())
            .append("remark", getRemark())
            .toString();
    }
}
